package com.drei.wolke.controller;

import java.util.HashMap;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.oauth2.provider.OAuth2Authentication;
//import org.springframework.security.oauth2.client.OAuth2RestTemplate;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Component
@RestController
public class UserController {
	 
	// RestTemplate restTemplate;
	private static final Logger logger = LoggerFactory.getLogger(UserController.class);

	
	@RequestMapping(value = "/mvc", method = RequestMethod.GET)
	public String hello(){
		return "hello" ;
	}
	
	@RequestMapping(value = "/test", method = RequestMethod.GET)
	public String test(){
		return "hello" ;
	}
	
}
